<div class="box J_TBox" <?php echo $_MODULE_TOOLBAR ?>>	
	<div class="floor">
		<a name="floor" ></a> 
		<?
			$auto_play='false';
			$single_pic='false';
			if($_MODULE['auto_play']==1){
				$auto_play='true';
			}else{
				$auto_play='false';
			}
			if($_MODULE['single_pic']==1){
				$single_pic='none';
			}else{
				$single_pic='block';
			}
		?>
		<div class="bd">
			<div class="carousel J_TWidget" data-widget-type="Carousel" data-widget-config="{'steps':1,'circular': true,'autoplay': <?echo $auto_play;?>,
'effect':'scrollx','easing':'easeOutStrong','prevBtnCls':'prev','nextBtnCls':'next', 'contentCls': 'carousel-main', 'navCls': 'carousel-nav','activeTriggerCls': 'selected','viewSize': [1900]
}">
				<span class="prev" style="display:<?echo $single_pic;?>"></span>
				<span class="next" style="display:<?echo $single_pic;?>"></span>
				<div class="carousel-content">
					<p class="carousel-main">
						<?
							for ( $i = 0; $i < 4; $i++ ) {
								if ( $_MODULE['carousel_img_' . $i] ) {
									echo '<a target="_blank" href="'. $_MODULE['carousel_link_' . $i] .'"><img   src="'. $_MODULE['carousel_img_' . $i] .'"></a>';
								}
							}
						?>
					</p>
				</div>
				<ul class="carousel-nav">
					<?
						for ( $i = 0; $i < 4; $i++ ) {
							if ( $_MODULE['carousel_nav_img_' . $i] ) {
								echo '<li'. ($i == 0  ? ' class="selected"' : "") .'><b></b><img src="'. $_MODULE['carousel_nav_img_' . $i] .'" /></li>';
							}
						}
					?>
				</ul>
			</div>
		</div>
	</div>
</div>